package com.student.entity;

public class Student extends User{
	private double score;
	private String depart;
	public double getScore() {
		return score;
	}
	public void setScore(double score) {
		this.score = score;
	}
	public String getDepart() {
		return depart;
	}
	public void setDepart(String depart) {
		this.depart = depart;
	}
	public Student(String id, String uname, String upass, int type, String loginTime, String ip, double score,
			String depart) {
		super(id, uname, upass, type, loginTime, ip);
		this.score = score;
		this.depart = depart;
	}
	public Student(String id,String upass) {
		super(id,upass);
	}
	public Student(String id,String loginTime, String ip) {
		super(id, loginTime, ip);

	}
	public Student(String id, String uname, int type,String loginTime) {
		super(id, uname,type,loginTime);
	}
	public Student(String sid) {
		super(sid);
	}
	public Student(String id, String uname, String upass, int type, String loginTime) {
		super(id,uname,upass,type,loginTime);
	}
	public Student(String id, String uname, String upass, int type, String loginTime, String ip) {
		super(id, uname, upass, type, loginTime, ip);
	}
	public Student(String id, String name, String pass, int type) {
		super(id, name, pass, type);
	}
	public Student(String id, String uname, int type, String depart, String loginTime, String ip) {
		super(id, uname, type, loginTime, ip);
		this.depart=depart;
	}
	@Override
	public String toString() {
		return "Student [score=" + score + ", depart=" + depart + ", id=" + id + ", uname=" + uname + ", upass=" + upass
				+ ", type=" + type + ", loginTime=" + loginTime + ", ip=" + ip + "]";
	}
	
}
